package com.vilen.retrofit2helloworld_1.domain;

/**
 * {

 resultCode: 200,
 message: "SUCCESS",
 data: [
 {
 email: "chhx@163.com",
 nickName: "user",
 password: "0586450dfab9843e34b8506e3cd26ba2",
 salt: "l18pxt6hbh",
 validateCode: "b3f83df82376e3aaedfa29e8070600ab",
 gender: 0,
 phone: 13555555555,
 address: "xj",
 id: 1,
 name: "user",
 createTime: 1486315894000,
 updateTime: 1486315894000,
 registerTime: 0
 }
 ]

 */
public class User {
  private int id;
  private String email;
  private String nickName;
  private String password;
  private String salt;
  private String validateCode;
  private int gender;
  private Long phone;
  private String address;
  private String name;
  private Long createTime;
  private Long updateTime;
  private Long registerTime;
  private String imgUrl;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getNickName() {
    return nickName;
  }

  public void setNickName(String nickName) {
    this.nickName = nickName;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getSalt() {
    return salt;
  }

  public void setSalt(String salt) {
    this.salt = salt;
  }

  public String getValidateCode() {
    return validateCode;
  }

  public void setValidateCode(String validateCode) {
    this.validateCode = validateCode;
  }

  public int getGender() {
    return gender;
  }

  public void setGender(int gender) {
    this.gender = gender;
  }



  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Long getPhone() {
    return phone;
  }

  public void setPhone(Long phone) {
    this.phone = phone;
  }

  public Long getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Long createTime) {
    this.createTime = createTime;
  }

  public Long getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Long updateTime) {
    this.updateTime = updateTime;
  }

  public Long getRegisterTime() {
    return registerTime;
  }

  public void setRegisterTime(Long registerTime) {
    this.registerTime = registerTime;
  }

  public String getImgUrl() {
    return imgUrl;
  }

  public void setImgUrl(String imgUrl) {
    this.imgUrl = imgUrl;
  }

  @Override public String toString() {
    return "User{" +
        "id=" + id +
        ", email='" + email + '\'' +
        ", nickName='" + nickName + '\'' +
        ", password='" + password + '\'' +
        ", salt='" + salt + '\'' +
        ", validateCode='" + validateCode + '\'' +
        ", gender=" + gender +
        ", phone=" + phone +
        ", address='" + address + '\'' +
        ", name='" + name + '\'' +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", registerTime=" + registerTime +
        ", imgUrl='" + imgUrl + '\'' +
        '}';
  }
}
